from django.conf.urls.static import static
from django.conf import settings
from django.urls import path, include
from web.views.pc import views

urlpatterns = [
    path('', views.index),
    path('index/', views.index),
    path('login/', views.login),
    path('users/user_list/', views.user_list),
    path('goods/category_list/', views.category_list),
    path('goods/goods_list/', views.goods_list),
    path('goods/scrap/scrap_list/', views.scrap_list),

    path('order/pay/pay_list/', views.pay_list),
    path('order/order_list/', views.order_list),
    path('feedback/feedback_list/', views.feedback_list),
    path('version/version_list/', views.version_list),
    path('notice/notice_list/', views.notice_list),
    path('lost_and_found/lost_and_found_list/', views.lost_and_found_list),
]
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)